#ifndef CHARACTER_H
#define CHARACTER_H

#include <curses.h>

class Character {
  public:
    Character(char appearance, int x, int y);

    char display(WINDOW* w);

    int xPos() const;
    int yPos() const;
    char appearance() const;

    void move(int x, int y);
    void undoLastMove();

  protected:
    char appearance_;

  private:
    int x_, y_;
    int oldX_, oldY_;
};

#endif
